package com.xianxing.gateway.log.dao;

import com.xianxing.gateway.log.pojo.RequestLog;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

/**
 * 网关操作数据库的接口
 * @author 唐保罗
 * @version 1.0
 */
@Repository
public interface RequestLogMapper extends Mapper<RequestLog> {

    @Delete("delete from request_log")
    void deleteAllLogs();
}
